package com.oa.dao;

import java.util.List;

import com.oa.bean.LeaSec;
import com.oa.bean.Leave;

public interface PMDao {

	//查询所有的请假申请
	public List<Leave> findLea(String usp);
	
	public int addlea(String L_user);
	
	//删除请假信息
	public int deleteLea(int l_id);
	
	//根据id查询信息
	public LeaSec findlea(int l_id);
	
	//修改根据id修改
	public int updataLea(Leave leave);
}
